﻿using SqlSugar;
using System;

namespace IconYuan.Model.Entity.Pays
{
    /// <summary>
    /// 店铺支付设置
    /// </summary>
    [SugarTable("t_pay")]
    public class Payment
    {
        /// <summary>
        /// 自增id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public int Id { get; set; }
        public int store_id { get; set; }
        /// <summary>
        /// 商户appid或子商户appid
        /// </summary>
        public string appid { get; set; }
        /// <summary>
        /// 商户号
        /// </summary>
        public string mchid { get; set; }
        /// <summary>
        /// V2秘钥
        /// </summary>
        public string mchkey { get; set; }
        /// <summary>
        /// V3秘钥
        /// </summary>
        public string mchkey_v3 { get; set; }
        /// <summary>
        /// 证书路径
        /// </summary>
        public string cert_pem { get; set; }
        /// <summary>
        /// 证书序列号
        /// </summary>
        public string cert_sn { get; set; }
        /// <summary>
        ///  服务商appid
        /// </summary>
        public string provider_appid { get; set; }
        public string provider_mchid { get; set; }
        public string provider_mchkey { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public int is_delete { get; set; }
        public DateTime create_time { get; set; }
    }
}
